/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bean;

/**
 *
 * @author HoangNam
 */
public class EnumObject {

    private Object text;
    private Object value;

    public EnumObject() {
    }

    public EnumObject(Object text, Object value) {
        this.text = text;
        this.value = value;
    }

    public Object getText() {
        return text;
    }

    public void setText(Object text) {
        this.text = text;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return text.toString();
    }
}
